package com.sjx.jnistudy;

public class CalcUtils {

    static {
        System.loadLibrary("calc-utils");
    }

    public static native String getName();

    public static native byte[] getByteArray(byte[] array);

    public static native byte[] sinWave(int[] freq, int[] amplitude, int sampleRate, int updatePriodMs, int maxProgress);

    public static native byte[] sinWave(int[] freq, int[] amplitude, int sampleRate, int updatePriodMs, int maxProgress, byte[] result);
}
